package cn.cocho.android.mct.anim;

import android.widget.Toast;

import cn.cocho.android.mct.R;
import cn.cocho.android.mc.activity.BaseActivity;
import cn.cocho.android.mc.comp.anim.RippleView;

public class RippleViewTest extends BaseActivity {

	RippleView m_rippleView;
	
	@Override
	public void init() {
		setContentView(R.layout.ripple_view);
		m_rippleView = (RippleView) findViewById(R.id.ripple_view_id);
	
	
	}

	
	@Override
	protected void onStop() {
		m_rippleView.stop();
		Toast.makeText(RippleViewTest.this, "事件触发", 1000).show();
		super.onStop();
	}

	@Override
	protected void onResume() {
		m_rippleView.resume();
		super.onResume();
	}

	@Override
	protected void onDestroy() {
		m_rippleView.destroy();
		m_rippleView = null;
		super.onDestroy();
	}
}
